/*
 * @ProjectName: flutter_common
 * @Package: 
 * @ClassName: extension_double.dart
 * @Description: 对double进行扩展
 * @User: Page.Su
 * @Date: 2020/8/24
 * @Time: 15:21
 * @UpdateDate: 2020/8/24 15:21
 */

import 'package:flutter_screenutil/screenutil.dart';

extension screenUtil on double {
  double byScreenUtilWidth() {
    return ScreenUtil().setWidth(this);
  }

  double byScreenUtilHeight() {
    return ScreenUtil().setHeight(this);
  }
}